<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        h1{
            display: none; /*不显示*/
        }

        a{
            display: block; /*以块元素的形式显示*/
        }

        div{
            display: inline-block; /*以行级块显示*/
        }
    </style>
</head>

<body>
    <h1>h1标签 </h1>

    <a>a标签1</a>
    <a>a标签2</a>

    <div style="width: 100px; height: 100px; background-color: rebeccapurple;"></div>
    <div style="width: 100px; height: 100px; background-color: rebeccapurple;"></div>
    
</body>
</html>